<?php
/**
 * Created by PhpStorm.
 * User: ZhuXueSong
 * Date: 2020-03-18
 * Time: 13:37
 */

namespace App\Consts;

class CacheConst
{
    const CACHE_USER_TOKEN = 'cache_user_token_%s';       // 用户token缓存

    const CACHE_ADMIN_TOKEN = 'cache_admin_token_%s';       // 平台用户token缓存

    const HOT_SEARCH_WORDS = 'cin-hot-search-words';      // 热搜词汇

    const KEY_WORD_FILTER = 'cin-key-word-filter'; //关键词过滤

    const SYSTEM_CONFIG_KEY = 'system_config_%s';         // 系统配置

    const QUEUE_RETRY_TIME = 'queue-retry-time-%s'; // 队列重试次数缓存

    const CACHE_UNIT_NUMBER = 'cache_unit_number_%s';//单位编号锁定

    const JS_API_TICKET = 'we-chat-js-api-ticket';

    const PAY_ACCESS_TOKEN = 'we-chat-pay-access-token'; // 小程序token

    const WE_CHAT_ACCESS_TOKEN = 'we-chat-access-token';  // 公众号token

    const ITEM_STORAGE = 'cache_item_storage_%s'; // 套餐库存

    const QI_NIU_YUN_UPLOAD_TOKEN_EXPIRE = 'qi-niu-yun-upload-token-expire'; // 七牛云更新token时间

    const QI_NIU_YUN_UPLOAD_TOKEN = 'qi-niu-yun-upload-token';  // 七牛云更新token时间

    const ADMIN_PERMISSIONS = 'admin-permissions-%s';  // 后台账号权限码集合

    const CACHE_SITE_NAMES = 'cache_site_names_%s'; // 网点名称
}
